$f: 19.2;

.home {
  position: relative;
  width: 100%;

  .cursor {
    position: fixed;
    z-index: 9999;
    transition: opacity .3s, color .4s;
    pointer-events: none;
    backface-visibility: hidden;
    width: 10px;
    height: 10px;
    .section3_hover{
      width: 100%;
      height: 100%;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #386EB5;
      color: #FFF;
      font-size: 16/$f+vw;
      font-style: normal;
      font-weight: 600;
      position: relative;
      opacity: 0;
      transition: .3s ease;

      .zz{
        width: 6/$f+vw;
        height: 10/$f+vw;
        position: absolute;
        left: -16/$f+vw;
        top: 50%;
        transform: translateY(-50%);
      }

      .yy{
        width: 6/$f+vw;
        height: 10/$f+vw;
        position: absolute;
        right: -16/$f+vw;
        top: 50%;
        transform: translateY(-50%);
      }

      &.on{
        opacity: 1;
      }
    }
  }

  .banner {
    position: relative;
    img {
      width: 100%;
      display: block;
      object-fit: cover;
    }

    .text {
      position: absolute;
      left: 190/$f+vw;
      top: 50%;
      transform: translateY(-50%);

      .p1 {
        background: linear-gradient(180deg, rgba(56, 110, 181, 0.50) 35.29%, rgba(255, 255, 255, 0.00) 84.31%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-size: 40/$f+vw;
        text-transform: uppercase;
        font-family: 'PingFang';
        font-weight: 600;
      }

      .p2 {
        color: #386EB5;
        font-size: 48/$f+vw;
        font-weight: 700;
        margin-top: -1vw;
      }
    }

    .types {
      border-top: 3px solid rgba(58, 133, 192, 0.10);
      background: rgba(0, 0, 0, 0.30);
      backdrop-filter: blur(5px);
      position: absolute;
      left: 0;
      bottom: 0;
      width: 100%;

      .items {
        width: 65%;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;

        .item {
          width: 20%;
          position: relative;
          cursor: pointer;

          &::before {
            content: '';
            display: block;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            top: -2px;
            width: 0;
            transition: all 600ms;
            height: 4/$f+vw;
            background: #386EB5;
          }

          .p1 {
            color: #FFF;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 22/$f+vw 0;
            font-size: 20/$f+vw;
            font-weight: 700;
            transition: all 600ms;

            svg {
              display: block;
              width: 24/$f+vw;

              path {
                transition: all 600ms;
              }
            }
          }

          &:hover {
            &::before {
              width: 100%;
            }

            .p1 {
              color: #386EB5;

              svg {
                path {
                  stroke: #386EB5;
                }
              }
            }
          }
        }

        .active {
          &::before {
            width: 100%;
          }

          .p1 {
            color: #386EB5;

            svg {
              path {
                stroke: #386EB5;
              }
            }
          }
        }
      }
    }
  }


  .main {
    //margin: 80/$f+vw 190/$f+vw;

    .section1{
      position: relative;
      height: 100vh;
      *{
        box-sizing: border-box;
      }
      .img{
        width: 100%;
        height: 100%;
      }
      .text{
        position: absolute;
        width: 100%;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
        text-align: center;
        padding: 0 5%;
        color: #FFF;
        font-size: 70/$f+vw;
        font-style: normal;
        font-weight: 400;
      }
    }

    .section2{
      padding: 120/$f+vw 190/$f+vw 114/$f+vw 190/$f+vw;
      *{
        box-sizing: border-box;
      }
      .wrap{
        .title{
          text-align: center;
          h1{
            color: #000;
            text-align: center;
            font-size: 58/$f+vw;
            font-style: normal;
            font-weight: 600;
            line-height: 87/$f+vw; /* 150% */
            position: relative;
            width: fit-content;
            margin: 0 auto 16/$f+vw;
            &:after{
              content: '';
              position: absolute;
              bottom: 15/$f+vw;
              right: 286/$f+vw;
              width: 14/$f+vw;
              height: 14/$f+vw;
              border-radius: 50%;
              background: #E60012;
            }
          }
          p{
            width: 910/$f+vw;
            margin: auto;
            color: #999;
            text-align: center;
            font-size: 20/$f+vw;
            font-style: normal;
            font-weight: 500;
            line-height: 40/$f+vw; /* 200% */
          }
        }
        .content{
          margin: 80/$f+vw 0 0 0;
          display: flex;
          justify-content: space-between;
          .item{
            width: 361/$f+vw;
            height: 401/$f+vw;
            background: #F4F5F7;
            padding: 69/$f+vw 0 64/$f+vw 0;
            .circle{
              width: 124/$f+vw;
              height: 124/$f+vw;
              margin: 0 auto 41/$f+vw;
              display: block;
              object-fit: contain;
            }
            .text{
              text-align: center;
              p{
                color: #666;
                font-size: 18/$f+vw;
                font-style: normal;
                font-weight: 500;
                letter-spacing: -0.5px;
              }
              .dis{
                margin: 12/$f+vw 0 0 0;
                display: flex;
                justify-content: center;
                span{
                  color: #000;
                  font-size: 68/$f+vw;
                  font-style: normal;
                  font-weight: 500;
                  line-height: 68/$f+vw; /* 100% */
                  letter-spacing: -0.5px;
                }
                .p1{
                  color: #000;
                  font-family: Montserrat;
                  font-size: 24/$f+vw;
                  font-style: normal;
                  font-weight: 400;
                  line-height: 24/$f+vw; /* 100% */
                  letter-spacing: -0.5px;
                  margin: 35/$f+vw 0 0 13/$f+vw;
                }
                .p2{
                  color: #000;
                  font-family: Montserrat;
                  font-size: 24/$f+vw;
                  font-style: normal;
                  font-weight: 400;
                  line-height: 24/$f+vw; /* 100% */
                  letter-spacing: -0.5px;
                  margin: 35/$f+vw 0 0 13/$f+vw;
                }
              }
            }
          }
        }
      }
    }

    .section3{
      cursor: none;
      position: relative;
      z-index: 1;
      padding: 166/$f+vw 190/$f+vw 125/$f+vw 190/$f+vw;
      *{
        box-sizing: border-box;
      }
      .bg{
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: -1;
      }
      .wrap{
        .title{
          color: #FFF;
          font-size: 40/$f+vw;
          font-style: normal;
          font-weight: 600;
          margin: 0 0 187/$f+vw;
        }
        .content{
          width: 100%;
          overflow: hidden;
          .lastSwiper{
            width: 100%;
            &:after{
              content: '';
              width: 100%;
              height: 3/$f+vw;
              background: #fff;
              position: absolute;
              top: calc(50% + 0.4166666666666667vw);
              left: 0;
              opacity: .2;
              transform: translateY(-50%);
            }
            .swiper-slide{
              &:nth-child(2n-1) {
                .item{
                  margin-top:16/$f+vw;
                  display: flex;
                  flex-direction: column-reverse;
                  .center{
                    display: flex;
                    flex-direction: column-reverse;
                    svg{
                      transform: rotate(180deg);
                    }
                    .position{
                      bottom: calc(-100%  - 2.604166666666667vw);
                      display: flex;
                      flex-direction:column-reverse;
                      .line{
                        margin: 0 0 38/$f+vw;
                      }
                      .img{
                        &:after{
                          border-top: none;
                          border-bottom: 30/$f+vw solid #fff;
                          bottom: unset;
                          top: -15/$f+vw;
                        }
                      }
                    }
                  }
                }
              }
              .item{
                margin: 242/$f+vw 0 0 0;
                position: relative;

                &:hover{
                  .center{
                    .position{
                      opacity: 1;
                      .line{
                        transform: scaleX(1);
                      }
                    }
                  }

                }

                .center{
                  width: 16/$f+vw;
                  position: relative;
                  .circle{
                    width: 16/$f+vw;
                    height: 16/$f+vw;
                    margin: auto;
                    display: block;
                    position: relative;
                    z-index: 56;
                  }
                  svg{
                    width: 2/$f+vw;
                    height: 102/$f+vw;
                    margin: auto;
                    display: block;

                  }
                  .position{
                    position: absolute;
                    bottom: calc(100%  - 0.5208333333333333vw);
                    left: 50%;
                    transform: translateX(-50%);
                    opacity: 0;
                    transition: .6s;
                    .img{
                      width: 161/$f+vw;
                      height: 136/$f+vw;
                      padding: 10/$f+vw;
                      background: #fff;
                      border-radius: 10/$f+vw;
                      position: relative;
                      margin: auto;
                      &:after{
                        content: '';
                        position: absolute;
                        bottom: -15/$f+vw;
                        left: 50%;
                        transform: translateX(-50%);
                        border-left: 30/$f+vw solid transparent;
                        border-right: 30/$f+vw solid transparent;
                        border-top: 30/$f+vw solid #fff;
                      }
                      img{
                        width: 100%;
                        height: 100%;
                        border-radius: 10/$f+vw;
                        position: relative;
                        z-index: 2;
                      }
                    }
                    .line{
                      width: 234/$f+vw;
                      height: 4/$f+vw;
                      background: #fff;
                      border-radius: 20/$f+vw;
                      margin: 38/$f+vw 0 0 0;
                      transform: scaleX(0);
                      transition: .3s ease;
                    }
                  }
                }
                .text{
                  height: 124/$f+vw;
                  h1{
                    color: #FFF;
                    font-size: 28/$f+vw;
                    font-style: normal;
                    font-weight: 600;
                    margin: 0 0 10/$f+vw;
                  }
                  p{
                    color: #FFF;
                    font-size: 16/$f+vw;
                    font-style: normal;
                    font-weight: 400;
                    line-height: 24/$f+vw; /* 150% */
                    -webkit-line-clamp: 3;
                    display: -webkit-box;
                    -webkit-box-orient: vertical;
                    overflow: hidden;
                  }
                }
              }
            }
          }
        }
      }
    }

    .section4{
      padding: 155/$f+vw 190/$f+vw 0 190/$f+vw;
      position: relative;
      z-index: 1;
      *{
        box-sizing: border-box;
      }
      .bg{
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: -1;
      }
      *{
        box-sizing: border-box;
      }
      .wrap{
        .title{
          color: #000;
          font-family: "PingFang SC";
          font-size: 40/$f+vw;
          font-style: normal;
          font-weight: 600;
          margin: 0 0 110/$f+vw;
        }
        .content{
          position: relative;
          .swiper1{
            width: 1320/$f+vw;
            margin: auto;
            padding: 20/$f+vw 0;
            .swiper-slide{
              img{
                width: 100%;
                height: 100%;
                object-fit: contain;
                opacity: 0;
                transition: .3s;
              }
            }
          }
          .button{
            position: absolute;
            width: 100%;
            top: 50%;
            left: 0;
            transform: translateY(-50%);
            pointer-events: none;
            display: flex;
            justify-content: space-between;
            img{
              pointer-events: auto;
              width: 58/$f+vw;
              height: 58/$f+vw;
              cursor: pointer;
            }
          }
        }
      }
    }

  }

  img{
    object-fit: cover;
  }


  @media screen and (max-width: 1024px) {
    padding-top: 60px;
    .banner{
      img{
        height: 150px;
      }
      .text{
        left: 5%;
        top:50%;
        .p1{
          font-size: 20px;
        }
        .p2{
          font-size: 20px;
          margin-top: -10px;
        }
      }
      .types{
        position: static;
        .items{
          width: 100%;
          .item{
            .p1{
              font-size: 12px;
              padding: 10px 0;
            }
          }
        }
      }
    }
    .main{
      .section1{
        .text{
          font-size: 24px;
        }
      }
      .section2{
        padding: 50px 5%;
        .wrap{
          .title{
            h1{
              font-size: 20px;
              line-height: 1.5;
              margin: 0 0 20px;
            }
            p{
              font-size: 14px;
              width: 100%;
              line-height: 1.7;
            }
          }
          .content{
            margin: 20px 0 0 0;
            flex-direction: column;
            .item{
              width: 100%;
              padding: 25px 5%;
              height: auto;
              margin: 0 0 20px;
              .circle{
                width: 70px;
                height: 70px;
                margin: 0 auto 20px;
              }
              .text{
                p{
                  font-size: 14px;
                }
                .dis{
                  margin: 20px 0 0 0;
                  span{
                    font-size: 40px;
                    line-height: 1;
                  }
                  .p1{
                    font-size: 14px;
                    margin: 25px 0 0 5px;
                  }
                  .p2{
                    font-size: 16px;
                    margin: 25px 0 0 5px;
                  }
                }
              }
            }
          }
        }
      }



      .section3{
        padding: 50px 5%;
        .wrap{
          .title{
            font-size: 24px;
            margin: 0 0 35px;
          }
          .content{
            .lastSwiper{
              &:after{
                display: none;
              }
              .swiper-slide{
                .item{
                  margin: 0!important;
                  flex-direction: column!important;
                  .center{
                    width: 100%;
                    margin: 0 0 25px;
                    .circle,svg{
                      display: none;
                    }
                    .position{
                      width: 100%;
                      position: static;
                      opacity: 1;
                      transform: none;
                      .img{
                        width: 50%;
                        height: auto;
                        padding: 10px;
                        border-radius: 10px;
                        margin: 0;
                        img{
                          border-radius: 10px;
                        }
                      }
                      .line{
                        display: none;
                      }
                    }
                  }
                  .text{
                    height: auto;
                    h1{
                      font-size: 18px;
                      line-height: 1;
                      margin: 0 0 20px;
                    }
                    p{
                      font-size: 14px;
                      line-height: 1.8;
                      br{
                        display: none;
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }

      .section4{
        padding: 40px 5%;
        .wrap{
          .title{
            font-size: 22px;
          }
          .content{
            .button{
              img{
                width: 45px;
                height: 45px;
              }
            }
          }
        }
      }

      .cursor{
        display: none;
      }

    }
  }
}